package net.lcheng.dao;

import java.util.Date;
import java.util.List;
import net.lcheng.model.WxShop;
import net.lcheng.model.WxShopExample;
import net.lcheng.vo.WxShopModel;
import org.apache.ibatis.annotations.Param;

public interface WxShopMapper {
    /**
     * 微店查询(店铺查询或者搜索zwr)
     * @param userName
     * @param shopName
     * @param sdate
     * @param edate
     * @return
     */
    List<WxShopModel> getWxShopList(@Param("shopName") String shopName, @Param("userName") String userName, @Param("sdate") Date sdate, @Param("edate") Date edate);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table wx_shop
     *
     * @mbggenerated
     */
    int countByExample(WxShopExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table wx_shop
     *
     * @mbggenerated
     */
    int deleteByExample(WxShopExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table wx_shop
     *
     * @mbggenerated
     */
    int deleteByPrimaryKey(Integer shopId);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table wx_shop
     *
     * @mbggenerated
     */
    int insert(WxShop record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table wx_shop
     *
     * @mbggenerated
     */
    int insertSelective(WxShop record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table wx_shop
     *
     * @mbggenerated
     */
    List<WxShop> selectByExample(WxShopExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table wx_shop
     *
     * @mbggenerated
     */
    WxShop selectByPrimaryKey(Integer shopId);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table wx_shop
     *
     * @mbggenerated
     */
    int updateByExampleSelective(@Param("record") WxShop record, @Param("example") WxShopExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table wx_shop
     *
     * @mbggenerated
     */
    int updateByExample(@Param("record") WxShop record, @Param("example") WxShopExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table wx_shop
     *
     * @mbggenerated
     */
    int updateByPrimaryKeySelective(WxShop record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table wx_shop
     *
     * @mbggenerated
     */
    int updateByPrimaryKey(WxShop record);
}